<!DOCTYPE html>
<html>
    <head>
        <title>Getting Started</title>
        <link rel="stylesheet" href="general.css" />

        <meta name="viewport" content="width=device-width, initial-scale=1.0">
    </head>
    <body>
        <header>
            <a href="../../../">
                <----- Return to main JsMacros docs page.
            </a>
        </header>
        <main class= "General">
            <h2>Libraries and Globals</h2>
                <p>
                    Instances of libraries are passed into the global context of the guest language as variables.
                    <br>
                    Here is a list:
                    <h3>Libraries</h3>
                    <ul>
                        <li><a href= "xyz/wagyourtail/jsmacros/client/api/functions/FChat.html"><b>chat</b></a> - for all the chat based functions.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/client/api/functions/FClient.html"><b>client</b></a> - for all the client based functions.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/core/library/IFConsumer.html"><b>consumer</b></a> - for wrapping your functions to native code.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/core/library/impl/FFS.html"><b>fs</b></a> - for all the filesystem stuff.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/core/library/impl/FGlobalVars.html">globalvars</b></a> - for passing variables between script contexts.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/client/api/functions/FHud.html"><b>hud</b></a> - for all the 2d/3d render stuff.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/core/library/impl/FJsMacros.html"><b>jsmacros</b></a> - for functions that deal with events and other jsmacros stuff. also all the stuff I couldn't find another lib for.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/client/api/functions/FKeyBind.html"><b>keybind</b></a> - for all the key based functions, like forcing a key down or getting pressed keys.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/client/api/functions/FPlayer.html"><b>player</b></a> - for all the player based functions.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/core/library/impl/FReflection.html"><b>reflection</b></a> - for all the java native access functions.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/core/library/impl/FRequest.html"><b>request</b></a> - for all the HTTP(s) based functions.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/client/api/functions/FTime.html"><b>time</b></a> - for all the time based functions.</li>
                        <li><a href= "xyz/wagyourtail/jsmacros/client/api/functions/FWorld.html"><b>world</b></a> - for all the world based functions.</li>
                    </ul>
                    There are 2 other globally context'd variables passed to scripts.
                    <ul>
                        <li><a href= "#classLists"><b>event</b></a></li>
                        <li><a href= "https://docs.oracle.com/javase/8/docs/api/java/io/File.html" target="_blank"><b>file</b></a></li>
                    </ul>
                </p>
        </main>
    </body>
</html>